﻿<Button x:Class="SimpleControlLibrary.ImageButtonControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" >
        <StackPanel Name="panel">
            <Image Width="16" Height="16" Source="{Binding Source}"/>
            <TextBlock Text="{Binding Text}" TextAlignment="Center" />
        </StackPanel>
</Button>
